package com.crazypos.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crazypos.pojo.PermissionEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PermissionDao extends BaseMapper<PermissionEntity> {

    List<PermissionEntity> getPermissionsByRoleId(@Param("roleId") String roleId);

}
